package com.lza.phone.service;

import com.lza.phone.entity.Phone;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lza.phone.entity.connectEntity.PhoneList;
import com.lza.response.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 李钊澳
 * @since 2021-08-28
 */
public interface PhoneService extends IService<Phone> {
    PhoneList getOnePhone(Integer id);
    List<PhoneList> getAllPhone();
    List<PhoneList> getAllPhoneByCpuMark();
    void saveOnePhone(Phone phone);
    Result allPhone();
}